<%@taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
<%@taglib uri="http://richfaces.org/rich" prefix="rich"%>

<%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">
   <h:panelGrid columns="12" >
       <rich:spacer width="50px"/>
       
       <rich:spacer width="50px"/>
       <h:form>
           <h:panelGrid columns="3">
               <a4j:commandButton image="/images/Unlock.gif"
                    onclick="document.location.href='#{facesContect.externalContext.requestContextPath}/faces/authentification.jsp'">
                   <rich:toolTip showDelay="500">
                       Accueil
                   </rich:toolTip>
               </a4j:commandButton>

               <rich:spacer width="2px" />
               <a4j:commandButton id="dec_btn" image="/images/Lock.gif" action="#{LoginBean.deconnecter}"
                    onclick="document.location.href='#{facesContect.externalContext.requestContextPath}/faces/authentification.jsp'">
                   <rich:toolTip showDelay="500">
                       Déconnexion
                   </rich:toolTip>
               </a4j:commandButton>
           </h:panelGrid>
       </h:form>
   </h:panelGrid>